function created(res){
require(['echarts'],function (echarts) {
		var myChart = echarts.init(document.getElementById('topmap'));
		option = {
		color:['#f1b1ff','#aae3fb','#e5ffc7'],
		  backgroundColor: 'rgba(1,202,217,.2)',
		  grid: {
								left:60,
								right:60,
								top:20,
								bottom:0,
					containLabel: true
							},
					legend: {
						left: 10,
						top: 5,
						textStyle:{
						  fontSize:12,
						  color:'rgba(255,255,255,.6)'
						},
						data: scope.pagedata.topmap.name
					},
					calculable : true,
					series : [

						{
							name:'面积模式',
							type:'pie',
							radius : [0, 240],
							center : ['50%', '55%'],
							roseType : 'area',
							data:scope.pagedata.topmap.value
						}
					]
				};
		myChart.setOption(option);
		var myChart = echarts.init(document.getElementById('aleftboxtbott'));
		option = {
		color:['#7ecef4'],
		  backgroundColor: 'rgba(1,202,217,.2)',
		  grid: {
								left:20,
								right:50,
								top:23,
								bottom:30,
								containLabel: true
							},

				xAxis: {
					type: 'value',
					axisLine:{
					 lineStyle:{
					   color:'rgba(255,255,255,.2)'
					 }
				   },
				   splitLine:{
					 lineStyle:{
					   color:'rgba(255,255,255,0)'
					 }
				   },
				   axisLabel:{
					   color:"rgba(255,255,255,1)"
				   },
				   data: ['1','5','10','20','40','80'],
					boundaryGap: [0, 0.01]
				},
				yAxis: {
					type: 'category',
					axisLine:{
					 lineStyle:{
					   color:'rgba(255,255,255,.5)'
					 }
				   },
				   splitLine:{
					 lineStyle:{
					   color:'rgba(255,255,255,.1)'
					 }
				   },
				   axisLabel:{
					   color:"rgba(255,255,255,.5)"
				   },
					data: scope.pagedata.aleftboxtbott.name
				},
				series: [
					{
						name: '机构',
						type: 'bar',
						barWidth :30,
						itemStyle: {
							normal: {
								color: new echarts.graphic.LinearGradient(
									1, 0, 0, 1,
									[
										{offset: 0, color: 'rgba(230,253,139,.7)'},
										{offset: 1, color: 'rgba(41,220,205,.7)'}
									]
								)
							}
						},
						data: scope.pagedata.aleftboxtbott.value
					}
				]
			};
		myChart.setOption(option);
});
}